package com.cow.net.tcp.adpter

import com.cow.net.tcp.domain.TypeData


/**
 * Created by maqi on 2018/1/14.
 */
class ParseAdpterFactory {

   private static ParseAdpterFactory parseAdpterFactory = null;

    public static synchronized ParseAdpterFactory getInstance()
    {
        if(parseAdpterFactory == null)
        {
            parseAdpterFactory = new ParseAdpterFactory()
        }
        return  parseAdpterFactory
    }

    ParseAdpter  loadParseAdpterByDataType(int dataType)
    {
        ParseAdpter re = null;
        if(TypeData.DATAFDJ == dataType)
        {

        }else if(TypeData.DATAMESS == dataType)
        {

        }

        re

    }

}
